﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ViewENAState.aspx.cs" Inherits="InstrumentManage_ViewENAState" Title="查看矢网在线状态" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
        <div style="overflow: auto; width: 100%; text-align:center ">
            <br />
            <asp:Button ID="Button1" runat="server" Text="查询矢网在线状态" onclick="Button1_Click" 
                Width="183px" />
            <br /> 
            <div style="background-color: Silver">
            <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
            <span style="color: red">updating in process...</span>
            <input type="button" value="stop" onclick="AbortPostBack()" />
            </ProgressTemplate>
            </asp:UpdateProgress>
            </div> 
            <br />
            <div style="text-align: center; width:80%; margin:0 auto;">
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
                BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
                DataKeyNames="ENAIP" GridLines="None" 
                onpageindexchanging="GridView1_PageIndexChanging" PageSize="50" Width="100%">
                <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="ENAID" HeaderText="矢网编号" />
                    <asp:BoundField DataField="ENAPlace" HeaderText="矢网位置" />
                    <asp:BoundField DataField="ENAIP" HeaderText="矢网IP" />
                    <asp:BoundField DataField="ENAState" HeaderText="矢网状态" />
                    <asp:BoundField DataField="ENAWorkState" HeaderText="矢网工作状态" />
                    <asp:TemplateField HeaderText="是否在线"></asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            </asp:GridView>
                <br />
                <br />
            </div> 
            </div>
            </ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>

